//配置文件
var _ = require('underscore');
_.mixin(require('../../Gruntfile/underscore.mixin'));
var commonConfig = require('../../common/config');

module.exports = {
    /*
     打包分组规则
     */
    group: {
        passport: ["passport"],
        common: ["index"],
        user: ["user"],
        article: ["help"]
    },
    /*
     配置依赖
     deps中jquery可以写成"$"、"jquery"两种形式
     */
    require: _.extend({
        bootstrap: {
            path: '__PATH__/bootstrap/js/bootstrap',
            deps: ['$']
        },
        bootstrap_wizard: {
            path: '__VENDOR__/plugins/bootstrap-wizard/jquery.bootstrap.wizard',
            deps: ['$', 'bootstrap']
        },
        elevatezoom: {
            path: '__VENDOR__/plugins/jquery.elevatezoom',
            deps: ['$']
        }
    }, commonConfig.require)
};